﻿@using res = Sob.Resource.Views.Shared.Shared;
@model IEnumerable<Eieboom.Models.blog_article>
<h2>@(res.CommentsList)</h2>      
<div class="commentlist" id="comments"> 
<ul>
    @if ((Model as IEnumerable<Eieboom.Models.blog_article>).Count() > 0)
    {  
        foreach (var item in Model)
        {
        <li id="@item.id" name="@item.id" u="@item.username">
            <p>
            <a href="#@item.id" class="replylayer">#@(item.orderid)@Sob.Resource.Views.Home.Home.Floor</a>
            @if (item.summary!="")
            {
                <a href="@item.summary" target="_blank">@item.username</a>
            }
            else
            {
                @item.username
            }
            @(item.createdate)
            </p>
        <div class="replycontent">@Html.Raw(item.content)</div>
        <div class="replyoperate"><a href="###" class="reply-quote">@Sob.Resource.Views.Home.Home.Quote</a> <a href="###" class="reply-re">@Sob.Resource.Views.Home.Home.Reply</a></div>
        </li>
        }
    }
</ul>
</div>
<div class="commentpager">@Html.Raw(ViewBag.AjaxPager)
</div>